<!--头部标题栏 -->
<div class="shopcar_title">
    <a href="JavaScript:history.go(-1)"><span class="glyphicon glyphicon-chevron-left" id="return"></span></a>
    <span id="shopcar">购物车</span>
    <!--<a>
        <span class="shopcar_title_right" ng-click="showdelet()">编辑</span>
    </a>-->
</div>

<!--中间主要内容部分-->
<div class="shopcar_context">
    <div class="shopcar_classify">
        <!--<div class="header-login-info" ng-show="userId==''&& all_goods_list.length>0">
            <div class="header-login-info-left">登录后可同步账号购物车中的商品</div>
            <div class="header-login-info-right">
                <a ng-href="{{mall_enturl}}login/" class="btn-jd-red">
                    <span>登录</span>
                </a>
            </div>
        </div>-->
        <div class="panel-group" id="accordion">
            <div class="panel panel-default" ng-repeat="shop_goods in all_goods_list"
                 ng-show="shop_goods.list.length != 0">
                <div class="panel-heading">
                    <!--<input name="shops" type="checkbox" value=""
                           ng-click="chooseShop(shop_goods,shop_goods.list[$index])" id="cg{{shop_goods.shopid}}">
                    <label for="cg{{shop_goods.shopid}}">
                        <span></span>
                    </label>-->
                    <a ng-href="{{mall_ngburl}}shop/{{shop_goods.shopid}}">
                        <span class="shopcar_classify_span">{{shop_goods.shop.name}}</span>
                    </a>
                    <span id="edit{{shop_goods.shopid}}" class="shopgo" ng-click="edit(shop_goods.shopid)">编辑</span>
                </div>

                <div id="shopcar{{shop_goods.shopid}}" class="panel-collapse collapse in">
                    <div class="shopcar_goods_info">
                        <ul ng-repeat="goodList in shop_goods.list">
                            <li ng-repeat="goods in goodList.goods" class="shopcart_goods">
                                <!--<div class="shopcart_gou">
                                    <input name="goods" type="checkbox" value=""
                                           ng-click="chooseOne(shop_goods,shop_goods.list[$index])"
                                           id="cg{{shop_goods.shopid}}{{goods.goodsid}}">
                                    <label for="cg{{shop_goods.shopid}}{{goods.goodsid}}">
                                        <span></span>
                                    </label>
                                </div>-->
                                <div class="shopcart_good">
                                    <img ng-src="{{goods.logo}}" class="shopcar_context_img">
                                </div>
                                <div class="shop_goods_message">
                                    <div class="goods_info">
                                        <span class="goods_name">{{goods.title}}</span>
                                        <span class="shopcart_price">¥{{goods.price}}元<i ng-show="goods.unit!=''">/{{goods.unit}}</i></span>
                                    </div>
                                    <div class="shopcart_buy goods_edit goods_edit{{shop_goods.shopid}}">
                                        <div class="add_rem">
                                            <span class="shopcart_add"
                                                  ng-click="addgoods(shop_goods.shopid,goodList.cid,goods)">+</span>
                                            <input type="number" class="num" ng-model="goods.buycount"
                                                   ng-blur="input(shop_goods.shopid,goodList.cid,goods)">
                                            <span class="shopcart_remove"
                                                  ng-click="removegoods(shop_goods.shopid,goodList.cid,goods)"
                                                  ng-show="goods.buycount>1">-</span>
                                        </div>
                                    </div>
                                    <div class="shopcart_buy edit_complete{{shop_goods.shopid}}">
                                        <span class="goods_span">购物数量:</span>
                                        <div class="shopcart_num_1">×{{goods.buycount}}</div>
                                    </div>
                                </div>
                                    <span ng-click="myque_remove(shop_goods.shopid,goodList.cid,goods)"
                                          class="shopcar_context_alter delete{{shop_goods.shopid}}">删除</span>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="payment-total-bar payment-total-bar-new box-flex-f" id="payment" ng-show="all_goods_list_price.totalprice>0">
   <!-- <div class="shp-chk shp-chk-new">
        <input name="order" type="checkbox" value="" id="checkAll" ng-click="chooseAll()">
        <label for="checkAll">
            <span></span>
        </label>
        <span class="cart-checkbox-text">全选</span>
    </div>-->
    <div class="shp-cart-info">
        <strong id="shpCartTotal" data-fsizeinit="14" class="shp-cart-total" style="font-size: 14px;">合计:
            <span class="bottom-bar-price" id="cart_realPrice">¥{{all_goods_list_price.totalprice| number:2}}</span></strong>
    </div>
    <div class="btn-right-block btn-right-block-new  box-flex-c" ng-click="post_order(all_goods_list)">去结算<span id="checkedNum">({{all_goods_list_price.count}})</span>
    </div>
</div>
<div class="c-float-popWrap msgMode">
    <div class="pop-mask"></div>
    <div class="c-float-modePop">
        <div class="warnMsg">
        </div>
    </div>
</div>
<div class="loader" id="loader">
</div>
<div class="contain-item">
    <div class="contain-detail">
        <div class="contain-text">
            <div class="contain-text1">是否删除当前该商品？</div>
        </div>
        <div class="contain-choose">
            <button class="contain-no">否</button>
            <button class="contain-yes" ng-click="clean()">是</button>
        </div>
    </div>
    <div class="contain-back"></div>
</div>